package com.theaf.basemodule.common.dto.menu;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author:songwenke
 * @Description:菜单
 * @Date:create in 16:26 2018/1/15
 * @author swk
 * @Modified By:
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MenuDTO {
    private Long id;
    @ApiModelProperty("父ID")
    private Long pid;
    @ApiModelProperty("父名称")
    private String pname;
    @ApiModelProperty("关联模块ID")
    private Long moduleId;
    @ApiModelProperty("关联模块名称")
    private String moduleName;
    @ApiModelProperty("类型")
    private String type;
    @ApiModelProperty("类型名称")
    private String typeName;
    @ApiModelProperty("图标")
    private String icon;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty(value = "是否启用")
    private Boolean enable;
    @ApiModelProperty(value = "模板路径")
    private String templateUrl;
    @ApiModelProperty(value = "控制路径")
    private String controllerUrl;
    @ApiModelProperty(value = "引用的前端ANGULER模块")
    private String refModel;
    @ApiModelProperty(value = "参数")
    private String param;
}
